package com.dirsir.entities;

import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler"})
public class Commodity {
	private Integer commodityId;
	private String commodityName;
	private String commodityDescribe;
	private Double price;
	private Double vipPrice;
	private Integer subtypeId;
	private Integer merchantId;
	private Integer saleInfo;
	private Integer checkInfo;
	private String checkDate;
	private Integer adminId;
	private List<CommoditySort> sorts;
	public Integer getCommodityId() {
		return commodityId;
	}
	public void setCommodityId(Integer commodityId) {
		this.commodityId = commodityId;
	}
	public String getCommodityName() {
		return commodityName;
	}
	public void setCommodityName(String commodityName) {
		this.commodityName = commodityName;
	}
	public String getCommodityDescribe() {
		return commodityDescribe;
	}
	public void setCommodityDescribe(String commodityDescribe) {
		this.commodityDescribe = commodityDescribe;
	}
	public Double getPrice() {
		return price;
	}
	public void setPrice(Double price) {
		this.price = price;
	}
	public Double getVipPrice() {
		return vipPrice;
	}
	public void setVipPrice(Double vipPrice) {
		this.vipPrice = vipPrice;
	}
	public Integer getSubtypeId() {
		return subtypeId;
	}
	public void setSubtypeId(Integer subtypeId) {
		this.subtypeId = subtypeId;
	}
	public Integer getMerchantId() {
		return merchantId;
	}
	public void setMerchantId(Integer merchantId) {
		this.merchantId = merchantId;
	}
	public Integer getSaleInfo() {
		return saleInfo;
	}
	public void setSaleInfo(Integer saleInfo) {
		this.saleInfo = saleInfo;
	}
	public Integer getCheckInfo() {
		return checkInfo;
	}
	public void setCheckInfo(Integer checkInfo) {
		this.checkInfo = checkInfo;
	}
	public String getCheckDate() {
		return checkDate;
	}
	public void setCheckDate(String checkDate) {
		this.checkDate = checkDate;
	}
	public Integer getAdminId() {
		return adminId;
	}
	public void setAdminId(Integer adminId) {
		this.adminId = adminId;
	}
	public List<CommoditySort> getSorts() {
		return sorts;
	}
	public void setSorts(List<CommoditySort> sorts) {
		this.sorts = sorts;
	}
	@Override
	public String toString() {
		return "Commodity [commodityId=" + commodityId + ", commodityName=" + commodityName + ", commodityDescribe="
				+ commodityDescribe + ", price=" + price + ", vipPrice=" + vipPrice + ", subtypeId=" + subtypeId
				+ ", merchantId=" + merchantId + ", saleInfo=" + saleInfo + ", checkInfo=" + checkInfo + ", checkDate="
				+ checkDate + ", adminId=" + adminId + ", sorts=" + sorts + "]";
	}
	
}
